*{
  margin:0;
  padding: 0;
}
body,html{
  width:100%;
  height: 100%;
  box-sizing: border-box;
}
div{
  box-sizing: border-box;
}
.box{
  width:100%;
  height: 100%;
  display: flex;
}
.box > div{
  height: 100%;
  width: 50%;
  transition: all 0.8s ease;
  position: relative;
  background-size: cover;
  background-repeat: no-repeat;
}
.box > div::before{
  content:'';
  position: absolute;
  width:100%;
  height: 100%;
  left: 0;
  top: 0;
}
.info{
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate3d(-50%,-100%,0);
}
.left{
  background-image: url("../images/ps.jpg");
}
.right{
  background-image: url("../images/xbox.jpg");
}
.left::before{
  background-color: rgba(178, 23, 240,0.5);
}
.right::before{
  background-color: rgba(45, 43, 46, 0.5);
}
h1{
  color: azure;
  font-weight: bold;
  font-size: 48px;
}
.btnbuy{
  display: block;
  outline: transparent;
  background-color: transparent;
  width: 240px;
  padding: 24px;
  box-sizing: border-box;
  text-align: center;
  color: white;
  border: 3px solid white;
  margin: 40px auto;
  font-size: 24px;
  font-weight: bold;
}
.left:hover{
  width: 100%;
}
.right:hover{
  width: 100%;
}
